package com.augurit.wf.common.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

@Entity
@Table(name = "JBPM4_TASK")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class Jbpm4Task implements java.io.Serializable {
	
	// 属性
	@Id
    @Column(name = "DBID_")
	private Long taskInstDbid;
	
	@Column(name = "DBVERSION_")
	private Long dbversion;
	
	@Column(name = "NAME_")
	private String name;
	
	@Column(name = "STATE_")
	private String state;
	
	@Column(name = "SUSPHISTSTATE_")
	private String susphiststate;
	
	@Column(name = "ASSIGNEE_")
	private String assignee;
	
	@Column(name = "FORM_")
	private String form;
	
	@Column(name = "PRIORITY_")
	private Long priority;
	
	@Column(name = "CREATE_")
	private Date create;
	
	@Column(name = "DUEDATE_")
	private Date duedate;
	
	@Column(name = "PROGRESS_")
	private Long progress;
	
	@Column(name = "SIGNALLING_")
	private Long signalling;
	
	@Column(name = "EXECUTION_ID_")
	private String executionId;
	
	@Column(name = "ACTIVITY_NAME_")
	private String activityName;
	
	@Column(name = "HASVARS_")
	private Long hasvars;
	
	@Column(name = "SUPERTASK_")
	private Long supertask;
	
	@Column(name = "EXECUTION_")
	private Long execution;
	
	@Column(name = "PROCINST_")
	private Long procinst;
	
	@Column(name = "SWIMLANE_")
	private Long swimlane;
	
	@Column(name = "TASKDEFNAME_")
	private String taskdefname;

	@Column(name = "SIGN_TIME")
	private Date signTime;
	
	@Column(name = "HANDLE_COMMENTS")
	private String handleComments;
	
	@Column(name = "HANDLE_COMMENTS_TIME")
	private Date handleCommentsTime;
	
	@Column(name = "IS_MAIN_TASK")
	private String isMainTask;
	
	@Column(name = "TASK_TYPE")
	private String taskType;
	
	@Column(name = "ASSIGNEE_NAME")
	private String assigneeName;
	
	@Column(name = "AGENT")
	private String agent;
	
	@Column(name = "AGENT_NAME")
	private String agentName;
	
	@Column(name = "AGENT_START_DATE")
	private Date agentStartDate;
	
	@Column(name = "AGENT_END_DATE")
	private Date agentEndDate;
	
	@Column(name = "ACTIVITY_CHINESE_NAME")
	private String activityChineseName;
	
	@Column(name = "JMS")
	private  String jms;					//流程提醒消息
	
	public Long getTaskInstDbid() {
		return taskInstDbid;
	}

	public void setTaskInstDbid(Long taskInstDbid) {
		this.taskInstDbid = taskInstDbid;
	}

	public Long getDbversion() {
		return dbversion;
	}

	public void setDbversion(Long dbversion) {
		this.dbversion = dbversion;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getSusphiststate() {
		return susphiststate;
	}

	public void setSusphiststate(String susphiststate) {
		this.susphiststate = susphiststate;
	}

	public String getAssignee() {
		return assignee;
	}

	public void setAssignee(String assignee) {
		this.assignee = assignee;
	}

	public String getForm() {
		return form;
	}

	public void setForm(String form) {
		this.form = form;
	}

	public Long getPriority() {
		return priority;
	}

	public void setPriority(Long priority) {
		this.priority = priority;
	}

	public Date getCreate() {
		return create;
	}

	public void setCreate(Date create) {
		this.create = create;
	}

	public Date getDuedate() {
		return duedate;
	}

	public void setDuedate(Date duedate) {
		this.duedate = duedate;
	}

	public Long getProgress() {
		return progress;
	}

	public void setProgress(Long progress) {
		this.progress = progress;
	}

	public Long getSignalling() {
		return signalling;
	}

	public void setSignalling(Long signalling) {
		this.signalling = signalling;
	}

	public String getExecutionId() {
		return executionId;
	}

	public void setExecutionId(String executionId) {
		this.executionId = executionId;
	}

	public String getActivityName() {
		return activityName;
	}

	public void setActivityName(String activityName) {
		this.activityName = activityName;
	}

	public Long getHasvars() {
		return hasvars;
	}

	public void setHasvars(Long hasvars) {
		this.hasvars = hasvars;
	}

	public Long getSupertask() {
		return supertask;
	}

	public void setSupertask(Long supertask) {
		this.supertask = supertask;
	}

	public Long getExecution() {
		return execution;
	}

	public void setExecution(Long execution) {
		this.execution = execution;
	}

	public Long getProcinst() {
		return procinst;
	}

	public void setProcinst(Long procinst) {
		this.procinst = procinst;
	}

	public Long getSwimlane() {
		return swimlane;
	}

	public void setSwimlane(Long swimlane) {
		this.swimlane = swimlane;
	}

	public String getTaskdefname() {
		return taskdefname;
	}

	public void setTaskdefname(String taskdefname) {
		this.taskdefname = taskdefname;
	}
	
	public String getAssigneeName() {
		return assigneeName;
	}

	public void setAssigneeName(String assigneeName) {
		this.assigneeName = assigneeName;
	}

	public Date getSignTime() {
		return signTime;
	}

	public void setSignTime(Date signTime) {
		this.signTime = signTime;
	}

	public String getHandleComments() {
		return handleComments;
	}

	public void setHandleComments(String handleComments) {
		this.handleComments = handleComments;
	}

	public String getIsMainTask() {
		return isMainTask;
	}

	public void setIsMainTask(String isMainTask) {
		this.isMainTask = isMainTask;
	}

	public String getTaskType() {
		return taskType;
	}

	public void setTaskType(String taskType) {
		this.taskType = taskType;
	}

	public String getAgent() {
		return agent;
	}

	public void setAgent(String agent) {
		this.agent = agent;
	}

	public String getAgentName() {
		return agentName;
	}

	public void setAgentName(String agentName) {
		this.agentName = agentName;
	}

	public Date getAgentStartDate() {
		return agentStartDate;
	}

	public void setAgentStartDate(Date agentStartDate) {
		this.agentStartDate = agentStartDate;
	}

	public Date getAgentEndDate() {
		return agentEndDate;
	}

	public void setAgentEndDate(Date agentEndDate) {
		this.agentEndDate = agentEndDate;
	}

	public String getActivityChineseName() {
		return activityChineseName;
	}

	public void setActivityChineseName(String activityChineseName) {
		this.activityChineseName = activityChineseName;
	}

	public Date getHandleCommentsTime() {
		return handleCommentsTime;
	}

	public void setHandleCommentsTime(Date handleCommentsTime) {
		this.handleCommentsTime = handleCommentsTime;
	}
	public String getJms() {
		return jms;
	}

	public void setJms(String jms) {
		this.jms = jms;
	}
	
}